<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="Stylesheet" href="css/analysis.css" />
    <script type="text/javascript">
        function init() {
            if (window.location.hash) {
                var parentDiv, nodes, i, helpInfo, helpId, helpInfoArr, helpEnvFilter, envContent, hideEnvClass, hideNodes;
                helpInfo = window.location.hash.substring(1);
                    if(helpInfo.indexOf("-")) {
                        helpInfoArr = helpInfo.split("-");
                        helpId = helpInfoArr[0];
                        helpEnvFilter = helpInfoArr[1];
                    }
                    else {
                        helpId = helpInfo;
                    }
                parentDiv = document.getElementById("topics");
                nodes = parentDiv.children;
                    hideEnvClass = (helpEnvFilter === "OnlineOnly"? "PortalOnly": "OnlineOnly");
                    if(document.getElementsByClassName) {
                        hideNodes = document.getElementsByClassName(hideEnvClass);
                    }
                    else {
                        hideNodes = document.querySelectorAll(hideEnvClass);
                    }
                for(i=0; i < nodes.length; i++) {
                    if(nodes[i].id !== helpId) {
                        nodes[i].style.display ="none";
                    }
                    }
                    for(i=0; i < hideNodes.length; i++) {
                        hideNodes[i].style.display ="none";
                    }
                }
            }
    </script>
</head>
<body onload="init()">
<div id="topics">
    <div id="toolDescription" class="smallsize">
        <h2>Geographically Weighted Regression</h2><p/>
        <h2><img src="./images/GUID-B304F70A-6F43-4FB0-A786-66CBCF222530-web.png" alt="GeographicallyWeightedRegression workflow diagram"></h2>
        <hr/>
    <p>Performs Geographically Weighted Regression (GWR), which is a local form of linear regression used to model spatially varying relationships.
    </p>
    </div>
    <!--Parameter divs for each param-->
    <div id="inputLayer">
        <div><h2>Choose a layer to analyze</h2></div>
        <hr/>
        <div>
            <p>The layer containing point features that contain the dependent and explanatory variables.
            </p>
            <p>In addition to choosing a layer from your map, you can choose  <b>Choose Analysis Layer</b> at the bottom of the drop-down list to browse to your contents for a big data file share dataset or feature layer. You may optionally apply a filter on your input layer or apply a selection on hosted layers added to your map. Filters and selections are only applied for analysis. 
            </p>
        </div>
    </div>
    <div id="dependentVariable">
        <div><h2>Choose the field to model</h2></div>
        <hr/>
        <div>
            <p>The numeric field containing the observed values to be modeled and the type of value you are modeling.
            </p>
        </div>
    </div>
    <div id="explanatoryVariables">
        <div><h2>Choose the explanatory fields</h2></div>
        <hr/>
        <div>
            <p>One or more fields representing the explanatory
variables (fields) that help predict the value. Only numeric fields will be visible.
            </p>
        </div>
    </div>
    <div id="NeighborhoodType">
        <div><h2>Choose how the neighborhood will be determined</h2></div>
        <hr/>
        <div>
            <p>Specifies whether the neighborhood used is constructed as a fixed distance or allowed to vary in spatial extent depending on the density of the features.
                <ul>
                    <li> <b>Number of Neigbors</b>&mdash;The neighborhood size is a function of a specified number of neighbors included in calculations for each feature. Where features are dense, the spatial extent of the neighborhood is smaller; where features are sparse, the spatial extent of the neighborhood is larger. When you pick this option, select the number of neighbors you want to include. The number should be an integer between 2 and 5000.
                    </li>
                    <li> <b>Distance Band</b>&mdash;The neighborhood size is a constant or fixed distance for each feature. When you pick this option, select the distance band to represent the spatial extent of the neighborhood.
                    </li>
                </ul>
                
            </p>
        </div>
    </div>
    <div id="localWeightingScheme">
        <div><h2>Choose how neighboring features are weighted</h2></div>
        <hr/>
        <div>
            <p>Specifies the kernel type that will be used to provide the spatial weighting in the model. The kernel defines how each feature is related to other features within its neighborhood.
                <ul>
                    <li> <b>Bisquare</b>&mdash;A weight of 0 will be assigned to any feature outside the neighborhood specified. This is the default.
                    </li>
                    <li> <b>Gaussian</b>&mdash;All features will receive weights, but weights become exponentially smaller the farther away from the target feature.
                    </li>
                </ul>
                
            </p>
        </div>
    </div>
    <div id="outputTrainedName">
        <div><h2>Result layer
name</h2></div>
        <hr/>
        <div>
            <p> The name of the layer that will be created.  If you are writing to an ArcGIS Data Store, your results will be saved in  <b>My
Content</b> and added to the map. If you are writing to a big data file share, your results will be stored in the big data file share and added to its manifest. It will not be added to the map. The default name is based on the
tool name and the input layer name. If the layer already exists, the tool will fail.
            </p>
            <p>When writing to   ArcGIS Data Store  (relational or spatiotemporal big data store) using the  <b>Save result in</b> drop-down box, you can specify
the name of a folder in <b>My Content</b> where the result will be
saved.
            </p>
        </div>
    </div>
</div>
</html>
